package smartlifev30.com.sdk;

/**
 * Created by uesr on 2018/8/7.
 */

public class ClientException extends Exception {

    private int errorCode;

    public ClientException(String message, int errorCode) {
        super(message);
        this.errorCode = errorCode;
    }

    public ClientException(String message, Throwable cause, int errorCode) {
        super(message, cause);
        this.errorCode = errorCode;
    }

    public int getErrorCode() {
        return errorCode;
    }
}
